package com.yami.shop.mystery.common.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yami.shop.mystery.common.dto.ProdCompoundDto;
import com.yami.shop.mystery.common.model.Compound;
import com.yami.shop.mystery.common.vo.CompoundVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CompoundMapper extends BaseMapper<Compound> {


    List<CompoundVo> selectPageList(@Param("spuCompoundDTO") ProdCompoundDto spuCompoundDTO);


    List<CompoundVo> getSpuList(@Param("spuCompoundDTO")ProdCompoundDto spuCompoundDTO);

    CompoundVo getDetail(int compoundId);
}
